<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<div id="app">
    <a v-bind:href= "url"> 我的首页 </a>
</div>

<script type="module">
    import {createApp, ref} from 'https://unpkg.com/vue@3/dist/vue.esm-browser.js';

    createApp({
        data(){
            return {
                url: 'https://www.jd.com'
            }
        }
    }).mount('#app')

</script>

</body>
</html>